/* styles.css */
.app-container {
    display: flex;
    overflow: hidden;
    height: calc(100vh - 135px);
}

.menu-container {
    width: 150px;
    height: 100%;
    background-color: #ffffff;
    border-right: 1px solid #e8e8e8;
    text-align: center;
}

/* 右侧内容区域样式 */
.content-container {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 16px;
    background-color: #fff;
}

.menu-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #E8EBF2;
}

.menu-item.active {
    background-color: #F7F7FC;
    font-weight: bold;
}
.content-container{
    overflow: auto;
    flex: 1;
}
.file-container{
    display: flex;
}
.file-content{
    flex: 1;
}
.content {
    padding: 10px;
    height: calc(100vh - 135px);
}

/* 在document.css中添加 */
.docx-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.docx-content p {
    margin-bottom: 1em;
}

.docx-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

.docx-content table, .docx-content th, .docx-content td {
    border: 1px solid #ddd;
}

.docx-content th, .docx-content td {
    padding: 8px;
}
.document-menu {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    padding: 12px 24px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    background-color: #f5f5f5;
    color: #1890ff;
}

.menu-item.active {
    background-color: #e6f7ff;
    color: #1890ff;
    font-weight: 600;
    border-left-color: #1890ff;
}

